package com.suwenhao.schedule;

import com.suwenhao.service.MeetingService;

import java.util.Date;
import java.util.TimerTask;

/**
 * @Author:suwenhao
 * @Description: 测试
 * @Date: Created in 2020/9/26 15:18
 */
public class MeetingTask extends TimerTask {

    private MeetingService meetingService = new MeetingService();

    private boolean isNot = false;

    @Override
    public void run() {

        if (!isNot) {
            isNot = true;

            meetingService.upStatusTimer();

            isNot=false;
        }


    }
}
